<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>gpgme</Name>
        <Homepage>http://www.gnupg.org/gpgme.html</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <License>LGPLv2</License>
        <IsA>library</IsA>
        <Summary>GnuPG Made Easy is a library for making GnuPG easier to use</Summary>
        <Description>GPGME is a library designed to make access to GnuPG easier for applications. It provides a high-Level Crypto application programming interface (API) for encryption, decryption, signing, signature verification and key management.</Description>
        <Archive sha1sum="efa043064dbf675fd713228c6fcfcc4116feb221" type="tarbz2">http://gd.tuwien.ac.at/pub/gnupg/gpgme/gpgme-1.8.0.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>gnupg</Dependency>
            <Dependency>libgpg-error-devel</Dependency>
            <Dependency>libassuan-devel</Dependency>
            <Dependency>qt5-base-devel</Dependency>
            <Dependency>doxygen</Dependency>
            <Dependency>swig</Dependency>            
            <Dependency>python3-devel</Dependency>
            <Dependency>python-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">remove-a-forgotten-instance-of-libsuffix.diff</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>gpgme</Name>
        <RuntimeDependencies>
            <Dependency>gnupg</Dependency>
            <Dependency>libgpg-error</Dependency>
            <Dependency>libassuan</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>python3</Dependency>
            <Dependency>python</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="data">/usr/share/common-lisp</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="info">/usr/share/info</Path>
        </Files>
    </Package>

    <Package>
        <Name>gpgme-devel</Name>
        <Summary>Development files for gpgme</Summary>
        <RuntimeDependencies>
            <Dependency release="current">gpgme</Dependency>
            <Dependency>libgpg-error-devel</Dependency>
            <Dependency>libassuan-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/share/aclocal</Path>
        </Files>
    </Package>
    
    <Package>
        <Name>gpgme-qt5</Name>
        <Summary>Qt5 bindings for gpgme</Summary>
        <RuntimeDependencies>
            <Dependency release="current">gpgme</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>qt5-base</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/libqgpgme.so.*</Path>
        </Files>
    </Package>
    
    <Package>
        <Name>gpgme-python</Name>
        <Summary>Python bindings for gpgme</Summary>
        <RuntimeDependencies>
            <Dependency release="current">gpgme</Dependency>
            <Dependency>python</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/python2.7/site-packages</Path>
        </Files>
    </Package>
    
    <Package>
        <Name>gpgme-python3</Name>
        <Summary>Python3 bindings for gpgme</Summary>
        <RuntimeDependencies>
            <Dependency release="current">gpgme</Dependency>
            <Dependency>python3</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/python3.6/site-packages/</Path>
        </Files>
    </Package>
    
    <Package>
        <Name>gpgme-qt5-devel</Name>
        <Summary>Development files for gpgme-qt5</Summary>
        <RuntimeDependencies>
            <Dependency release="current">gpgme</Dependency>
            <Dependency release="current">gpgme-devel</Dependency>
            <Dependency release="current">gpgme-qt5</Dependency>
            <Dependency>qt5-base-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/cmake/QGpgme</Path>
            <Path fileType="header">/usr/include/qgpgme/*</Path>
        </Files>
    </Package>

    <History>
        <Update release="5">
            <Date>2017-12-31</Date>
            <Version>1.8.0</Version>
            <Comment>split package.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2017-07-04</Date>
            <Version>1.8.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2017-01-02</Date>
            <Version>1.7.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-08</Date>
            <Version>1.5.5</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-08-21</Date>
            <Version>1.5.5</Version>
            <Comment>First release</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
    </History>
</PISI>
